transfer function gate questions